package com.base.role;

import java.util.List;
import com.infomanage.bean.SearchBean;
import com.infomanage.dao.BaseDAO;
import com.infomanage.exception.DaoException;

public class RoleDAO extends BaseDAO<Role>{

	public Role find(int orgId) throws DaoException{
		return super.find(Role.class, orgId);
	}
	
	public List<Role> findAll() throws DaoException{
		return super.findAll(Role.class);
	}
	
	public List<Role> findByFields(SearchBean searchBean) throws DaoException{
		return super.findByFields(Role.class, searchBean);
	}
}
